import request from '@/utils/request'

// 发送登录请求
export const loginApi = (data) => {
  return request.post('login/password', data)
}

// 发送验证码请求
export const mobileApi = (params) => {
  return request.get('code', { params })
}

// 发送验证码登录请求
export const captchaloginApi = (data) => {
  return request.post('login', data)
}
